<html>
<head><meta charset="utf-8"><title>Operator Autoderef status · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Operator.20Autoderef.20status.html">Operator Autoderef status</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="247884292"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Operator%20Autoderef%20status/near/247884292" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zoey <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Operator.20Autoderef.20status.html#247884292">(Aug 02 2021 at 00:23)</a>:</h4>
<p>Work on Operator Ergonomics with regards to referencing appears to have stalled. I'm working on a numerics library and the performance/usability tradeoff of operators with alloc data-types (e.g. variable-length matrices) is rather large.</p>
<p>PR 62: <a href="https://github.com/rust-lang/lang-team/pull/62">"Initial draft of copy ergonomics design note"</a><br>
PR 63: <a href="https://github.com/rust-lang/lang-team/pull/63">"Autoref/autoderef for operators"</a></p>
<ul>
<li>Is there some workaround that people are currently using to compensate for this issue?</li>
<li>Is there outstanding work that doesn't require significant domain expertise? The PR comments seem to be around wording, except for the one where highlighting that autoderef may prevent stack overflows.</li>
</ul>



<a name="247885447"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Operator%20Autoderef%20status/near/247885447" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Operator.20Autoderef.20status.html#247885447">(Aug 02 2021 at 00:56)</a>:</h4>
<p>At the moment, I think the outstanding work is much less an issue of implementation and much more an issue of design and architecture.</p>



<a name="247885461"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Operator%20Autoderef%20status/near/247885461" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Operator.20Autoderef.20status.html#247885461">(Aug 02 2021 at 00:56)</a>:</h4>
<p>We need a design that teams can agree on and feel comfortable with. I think that's possible, but it'll take time.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>